package com.vf.admin.miaodong.entity;

import com.vf.admin.common.db.annotation.Column;
import com.vf.admin.common.db.annotation.NoColumn;
import com.vf.admin.common.db.annotation.Table;
import com.vf.admin.fiwork.dto.UserInfoDto;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author anxiang
 * @version 1.0.0
 * @ClassName AppMingXiShouLi.java
 * @Description 收礼明细
 * @createTime 2021年11月02日 15:28:00
 */
@Table(name = "app_mingxi_shouli")
@Data
public class AppMingXiShouLi implements Serializable {

    private static final long serialVersionUID = 1L;
    @Column(length = 11, name = "id", index = true)
    private Integer id;
    private Integer userid;         //用户ID
    private String pic;             //用户图片
    private String nick;            //用户昵称
    private String phone;           //用户手机
    private Integer giftid;         //礼物id
    private Integer liwunum;        //礼物数量
    private String giftname;        //礼物名称
    private String giftpic;         //礼物图片
    private BigDecimal fujianum;    //钻石
    private String beizhu;          //备注
    private Integer sluserid;       //送礼人USERID
    private String slusernick;      //送礼人昵称
    private String sluserpic;       //送礼人头像
    private String sluserphone;     //送礼人电话
    private Integer roomid;         //房间ID
    private Integer roomcode;       //房间CODE
    private Date createtime;        //创建时间

    @NoColumn
    private Long total;                 //金豆总数

    @NoColumn
    private UserInfoDto userInfoDto;    //用户信息；

    @NoColumn
    private Integer friendsStatus;      //1=已关注 2=未关注

    @NotBlank
    private Integer liveStatus;         //1=在直播 2= 未直播

    @NoColumn
    private BigDecimal totalMoney;

}
